package com.alai04.android.scoreboard;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Scoreboard extends Activity {
	
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
	}

	public void startClick(View view) {
		Intent i = new Intent(this, ScoreViewer.class);
		i.putExtra(ScoreViewer.KEY_CONTINUE,
				(view == findViewById(R.id.cont_button)));
		startActivity(i);
	}

	public void setupClick(View view) {
		Intent i = new Intent(this, Prefs.class);
		startActivity(i);
	}

	public void exitClick(View view) {
		finish();
	}

}